module.exports = {
  value: {
    type: [Array],
    default: '',
    name: '输入值',
    filedType: 'value'
  },

  texttype: {
    type: Boolean,
    default: true,
    name: '与单元格搭配',
    filedType: 'switch'
  },

  max: {
    type: String,
    default: '0',
    name: '最大可选数',
    filedType: 'string'
  },
  suffixcls: {
    type: String,
    default: '',
    name: '输入框尾部图标样式',
    filedType: 'string'
  },
  direction: {
    type: String,
    default: 'vertical',
    name: '排列方向',
    filedType: 'select',
    options: [
      {
        name: 'horizontal',
        value: 'horizontal'
      },
      {
        name: 'vertical',
        value: 'vertical'
      }
    ]
  },
  shape: {
    type: String,
    default: 'round',
    name: '形状',
    filedType: 'select',
    options: [
      {
        name: 'square',
        value: 'square'
      },
      {
        name: 'round',
        value: 'round'
      }
    ]
  },
  iconsize: {
    type: String,
    default: '20px',
    name: '图标大小',
    filedType: 'string'
  },

  labelposition: {
    type: String,
    default: 'right',
    name: '文本位置',
    filedType: 'select',
    options: [
      {
        name: 'left',
        value: 'left'
      },
      {
        name: 'right',
        value: 'right'
      }
    ]
  },
  disabled: {
    type: Boolean,
    default: false,
    name: '禁用',
    filedType: 'switch'
  },

  checkColor: {
    type: String,
    default: '#1989fa',
    name: '选中状态颜色',
    filedType: 'color'
  },

  list: {
    type: Array,
    default () {
      return [
        {
          label: '列表项1',
          disabled: true,
          checked: true,
          value: '1'
        },
        {
          label: '列表项2',
          value: '0'
        }
      ]
    },
    name: '选项列表',
    filedType: 'api'
  }
}
